libglnx porting: Use glnx_set_error_from_errno
authorColin Walters <walters@verbum.org>
Fri, 18 Mar 2016 20:52:10 +0000 (16:52 -0400)
committerColin Walters <walters@verbum.org>
Wed, 23 Mar 2016 14:26:01 +0000 (10:26 -0400)
commitd456fe5adb00aaf66af001ee003c8ff8cf53581b
tree08280c71e9f43f60f530c65d2ca3cac6a1da4894
parent614483ecd174c3e5f9c048ebd517d186c88caa89
libglnx porting: Use glnx_set_error_from_errno

:warning: There is a notable spiked pit trap here around
`posix_fallocate()` and `errno`.  This has bit other projects,
see e.g.
https://github.com/systemd/systemd/commit/7bb87460e691d30c1a7fd23a1a8240776957e05f

Otherwise the port was straightforward.
13 files changed:
src/libostree/ostree-fetcher.c
src/libostree/ostree-repo-checkout.c
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo-static-delta-compilation.c
src/libostree/ostree-repo-static-delta-processing.c
src/libostree/ostree-repo.c
src/libostree/ostree-sepolicy.c
src/libostree/ostree-sysroot-deploy.c
src/libotutil/ot-fs-utils.c
src/libotutil/ot-gio-utils.c
src/libotutil/ot-variant-utils.c
src/ostree/ot-builtin-trivial-httpd.c